﻿using System.Collections.Generic;

namespace GrainManage.Server.Models
{
    public class ControllerModel
    {
        public class MethodModel
        {
            public string Name { get; set; }
            public string AnchorName { get; set; }
            public Dictionary<string, string> ParaNameTypePair { get; set; }
            public Dictionary<string, string> ParaNameValuePair { get; set; }
            public string ParameterString { get; set; }
            public string ReturnType { get; set; }
            public string InputString { get; set; }
            public string OutputString { get; set; }
        }

        public List<string> Controllers { get; set; }
        public List<MethodModel> Methods { get; set; }

        public string Name { get; set; }
        public string Domain { get; set; }
        public bool IsSchema { get; set; }
        public bool IsGet { get; set; }

    }
}